package org.itboys.core.dto.goods;

import lombok.Data;
import org.itboys.core.dto.common.BaseDto;

/**
 * 作者：zzq
 * 时间：2018/10/22
 * 描述：商品尺码
 */
@Data
public class SundayGoodsSizeDto {
    private Long sundayGoodsId;//圣代商品Id
    private String goodsCode;//商品code
    private Long codeId;//尺码id
    private Long goodsId;//商品id
    private Long kcsl;//库存数量
    private String sizeDetail;//尺码详情
    private String newSizeDetail;//新尺码
    private Double costPrice;//尺码原价
    private Double discountPrice;//尺码折扣价
    private Integer isSelect;//小程序是否选中
    public SundayGoodsSizeDto() {
    }

    public SundayGoodsSizeDto(String sizeDetail, Long codeId, Long goodsId, Long kcsl,Integer isSelect) {
        this.sizeDetail = sizeDetail;
        this.codeId = codeId;
        this.goodsId = goodsId;
        this.kcsl = kcsl;
        this.isSelect=isSelect;
    }

    public SundayGoodsSizeDto(String goodsCode, Long codeId, Long goodsId, Long kcsl,
                              String sizeDetail, Double costPrice) {
        this.goodsCode = goodsCode;
        this.codeId = codeId;
        this.goodsId = goodsId;
        this.kcsl = kcsl;
        this.sizeDetail = sizeDetail;
        this.costPrice = costPrice;
    }
}
